Postgresql – How to sort alphanumeric strings Lexicographically in Postgres
We have a column in a PostgreSQL table with the following data: 1A 1ABCD 1B ABCD1 2 ABCD2 3 ABCD3 ABCD4 ABCD5 ABCD10 ABCD11 ABCD1111 A B Expected result after sorting: 1 2 3 1A 1ABCD 1B A B ABCD1…