Feature Request: Get sorted list of indices of an array