Source: how to iterate elements in reverse order in jquery? | JQuery .each() backwards.