Print Page - Sorting aircraft by age mixes up aircraft
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: 1993matias on November 29, 2011, 04:41:04 pm
Title: Sorting aircraft by age mixes up aircraft
Post by: 1993matias on November 29, 2011, 04:41:04 pm
Hi!
When I sort my aircraft according to age, I don't always get the oldest planes first. Example: (http://i330.photobucket.com/albums/l405/skoleboss/random%20things/Udklip2.png) I was the first airline in the world, with plane #1. Later on I bought #3 and #5, which should be younger than #1. But somehow, #5 is older than #1, how is that possible?
Hese is a variation of the bug: (http://i330.photobucket.com/albums/l405/skoleboss/random%20things/Udklip1.png) #164 comes before #186, but after #184. It isn't sorted alphabetically. Also, #217 is before #216.
Maybe telling the script to sort aircraft of the same age by ID#?
Player ID# 14837 WID# 2096 Aircraft ID#'s: 1, 3, 5, 164, 184, 186, 216, 217, 218, probably more.
Title: Re: Sorting aircraft by age mixes up aircraft
Post by: StephenM on November 29, 2011, 06:13:06 pm
The default sort order for age (Done by delivery date) is Delivery Date, Aircraft Type and Aircraft ID. Its likely that the delivery dates may be different by a day or two on those aircraft which would give a strange grouping between the Caravelles and a Boeing 720B. I will dig a bit more though.
Edit: Spelling
Title: Re: Sorting aircraft by age mixes up aircraft
Post by: StephenM on November 29, 2011, 10:11:34 pm
Firstly, aircraft ID#5 has a delivery date of -21 (i.e. 21 days before game start), not sure why the others before it have a correct date of 0 in that case.
I've tried a couple of quick things to sort out ages of aircraft that look the same but I haven't come up with a good solution. Needs a bit more thought.