key-sort

Sorts an array by key, maintaining key to data correlations. This is useful mainly for associative arrays.

Browse on unpkg