Added ELFIN array sorting based on the POS attribute