std.tbl.sort_keys

std.tbl

sort_keys(t) -> keys

Get sorted keys of a table using natural alphanumeric ordering

Collects all keys from t into a new array and sorts them with alphanumsort. Does not modify t. The returned array contains only keys, not values.