Sort indexed items