?Sort

AlphabeticSort[<|"key1"->v1,"key2"->v2|>]

With[{a=<|"key1"->v1,"key2"->v2|>},
AlphabeticSort[Keys[a]]]

?Ordering

?Sort

?AlphabeticOrder