Update app.js

Output of sortBaggage was broken for use case n=5. Fixed.