Fixed storicoRes array sorting problem