def sort_items(items: numpy.ndarray) -> numpy.ndarray: maxinfo = irt.max_info_hpc(items) return irt.inf_hpc(maxinfo, items).argsort()
def sort_items(items: numpy.ndarray) -> numpy.ndarray: maxinfo = irt.max_info_hpc(items) return numpy.lexsort((irt.inf_hpc(maxinfo, items), maxinfo))
def sort_items(item_params): """ Returns ndarray of indices of items sorted by maximum item information. """ return (-inf_hpc(max_info_hpc(item_params), item_params)).argsort()