Who put the alphabet in alphabetical order?

The earliest evidence of letter order is from Ugarit, circa 13th century BCE.
There were two main alphabets, consisting of 22 and about 30 letters.
The 22-letter alphabet was adopted by the Phoenicians & Hebrews and
the order of letters has persisted as the basis of Latin derived alphabets
into the present: A B G D H V.. A B C D E F..

The principles originally employed in ordering the letters are phonemic,
based on where the consonants were articulated in the buccal cavity
(mouth & throat). But the ordering system is complex - not 1 2 3 / A B G.
It is based on geometry, with the 22 letters arranged in a circle, equally
spaced. Similar letters are grouped in sets of four, forming rectangles with
the Alef axis intersecting all of them, and linked with the back-of the-throat
phonemes to create a hexagram or 'Star Of David'.

Clues to this a pattern can be found in the oldest extant versions (2nd
century CE) of the Qabalistic text, 'Sefer Yetzirah'.

The order of the letters was of great religious significance, although beliefs
and philosophy changed over time, along with how some of the letters were
pronounced.