Update app.js

Working on for loop in sortBaggage function.