CREATE TABLE `sort_bug` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `data` datetime NOT NULL,
  `t` smallint(5) unsigned NOT NULL,
  `id_region` smallint(5) unsigned NOT NULL,
  `id_miasto` smallint(5) unsigned NOT NULL,
  `typ_obiektu` smallint(5) unsigned NOT NULL,
  `o` int(10) unsigned NOT NULL,
  `c` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `KEY_data` (`data`),
  KEY `o` (`o`)
) ENGINE=InnoDB AUTO_INCREMENT=745193 DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci;

INSERT INTO `sort_bug` VALUES (583459,'2012-08-23 09:39:58',13,432,579,1,18387,NULL),
(584193,'2012-08-23 14:21:09',13,433,518,1,18401,NULL),
(584205,'2012-08-23 14:23:41',13,428,478,1,18403,NULL),
(584213,'2012-08-23 14:25:23',13,441,519,1,18405,NULL),
(584215,'2012-08-23 14:27:16',13,437,572,1,18407,NULL),
(585001,'2012-08-23 21:53:14',13,430,591,1,18417,NULL),
(585439,'2012-08-24 09:22:02',13,437,572,1,18429,NULL),
(586765,'2012-08-24 15:02:59',13,430,591,1,18439,NULL),
(587991,'2012-08-25 14:32:07',13,430,591,1,18457,NULL),
(590009,'2012-08-27 02:11:05',13,431,575,1,18481,NULL),
(590011,'2012-08-27 02:13:09',13,431,7724,1,18483,NULL),
(590267,'2012-08-27 09:04:05',13,430,591,1,18485,NULL),
(590699,'2012-08-27 10:30:34',13,438,486,1,18487,NULL),
(593703,'2012-08-28 18:43:43',13,430,591,1,18511,NULL),
(595481,'2012-08-29 17:08:39',13,435,578,1,18541,NULL),
(595717,'2012-08-29 21:23:05',13,430,591,1,18547,NULL),
(597323,'2012-08-30 15:24:29',13,430,591,1,18571,NULL),
(597547,'2012-08-30 18:49:31',13,430,591,1,18573,NULL),
(597565,'2012-08-30 19:17:46',13,438,480,1,18575,NULL),
(597795,'2012-08-31 01:00:53',13,443,577,1,18583,NULL),
(597797,'2012-08-31 01:02:50',13,443,577,1,18585,NULL),
(598349,'2012-08-31 10:29:17',13,438,606,1,18591,NULL),
(599447,'2012-08-31 16:36:48',13,434,514,1,18613,NULL),
(599465,'2012-08-31 16:42:20',13,434,514,1,18615,NULL),
(600069,'2012-08-31 22:48:08',13,428,478,1,18629,NULL),
(602241,'2012-09-02 15:05:58',13,439,568,1,18659,NULL),
(602517,'2012-09-02 18:19:57',13,438,621,1,18673,NULL),
(603417,'2012-09-03 09:39:15',13,432,573,1,18701,NULL),
(603865,'2012-09-03 12:10:04',13,442,4521,1,18709,NULL),
(604859,'2012-09-03 18:19:31',13,430,591,1,18739,NULL),
(605867,'2012-09-04 10:42:45',13,439,596,1,18755,NULL),
(606455,'2012-09-04 15:11:49',13,430,591,1,18773,NULL),
(606505,'2012-09-04 15:36:55',13,437,572,1,18775,NULL),
(607007,'2012-09-05 08:40:11',13,428,491,1,18785,NULL),
(607479,'2012-09-05 10:58:59',13,437,572,1,18791,NULL),
(607745,'2012-09-05 12:49:30',13,432,573,1,18795,NULL),
(608123,'2012-09-05 15:21:26',13,429,488,1,18797,NULL),
(608193,'2012-09-05 15:53:02',13,435,578,1,18799,NULL),
(608289,'2012-09-05 16:44:26',13,442,477,1,18837,NULL),
(608457,'2012-09-05 20:29:51',13,437,572,1,18851,NULL),
(608589,'2012-09-05 23:25:43',13,443,443,1,18859,NULL),
(610553,'2012-09-06 19:27:24',13,439,552,1,18875,NULL),
(610731,'2012-09-06 23:03:42',13,437,572,1,18885,NULL),
(614427,'2012-09-08 22:50:14',13,440,574,1,18915,NULL),
(614575,'2012-09-09 07:35:34',13,439,545,1,18917,NULL),
(615035,'2012-09-09 13:14:59',13,438,520,1,18919,NULL),
(616157,'2012-09-10 09:27:30',13,439,536,1,18935,NULL),
(616653,'2012-09-10 12:01:40',13,431,575,1,18939,NULL),
(617173,'2012-09-10 14:14:43',13,438,476,1,18943,NULL),
(617339,'2012-09-10 15:14:18',13,434,511,1,18947,NULL),
(617487,'2012-09-10 15:54:42',13,429,488,1,18797,NULL),
(617743,'2012-09-10 18:43:50',13,439,543,1,18953,NULL),
(618971,'2012-09-11 12:46:24',13,433,518,1,18979,NULL),
(619873,'2012-09-11 19:07:02',13,435,578,1,18989,NULL),
(619875,'2012-09-11 19:15:18',13,435,578,1,18991,NULL),
(620013,'2012-09-11 22:27:42',13,434,499,1,19003,NULL),
(620339,'2012-09-12 09:02:10',13,433,518,1,19013,NULL),
(621203,'2012-09-12 14:19:53',13,437,572,1,19021,NULL),
(621349,'2012-09-12 15:33:44',13,436,592,1,19025,NULL),
(621557,'2012-09-12 18:59:10',13,442,522,1,19027,NULL),
(621563,'2012-09-12 19:02:28',13,442,522,1,19029,NULL),
(621815,'2012-09-13 00:33:08',13,439,543,1,19031,NULL),
(621819,'2012-09-13 00:36:14',13,439,543,1,19033,NULL),
(622331,'2012-09-13 10:31:52',13,431,7732,1,19043,NULL),
(623635,'2012-09-13 17:33:46',13,439,630,1,19053,NULL),
(624983,'2012-09-14 11:24:47',13,428,478,1,19065,NULL),
(625229,'2012-09-14 12:04:21',13,435,578,1,19071,NULL),
(626037,'2012-09-14 15:47:38',13,428,478,1,19087,NULL),
(626293,'2012-09-14 17:10:23',13,437,572,1,19089,NULL),
(626787,'2012-09-14 22:09:37',13,432,573,1,19095,NULL),
(627353,'2012-09-15 13:24:33',13,433,636,1,19101,NULL),
(629163,'2012-09-16 17:46:41',13,428,598,1,19127,NULL),
(629371,'2012-09-16 19:56:56',13,442,525,1,19131,NULL),
(632599,'2012-09-18 11:14:21',13,432,7743,1,19167,NULL),
(633599,'2012-09-18 22:35:26',13,433,518,1,19183,NULL),
(634789,'2012-09-19 14:20:09',13,435,578,1,19189,NULL),
(635003,'2012-09-19 16:13:05',13,433,518,1,19197,NULL),
(635545,'2012-09-19 22:30:33',13,428,478,1,19207,NULL),
(635551,'2012-09-19 22:36:52',13,428,478,1,19207,NULL),
(635595,'2012-09-20 01:36:33',13,435,578,1,19213,NULL),
(636687,'2012-09-20 12:41:10',13,443,577,1,19221,NULL),
(636779,'2012-09-20 13:03:23',13,439,548,1,19227,NULL),
(637003,'2012-09-20 14:40:40',13,442,477,1,19231,NULL),
(638975,'2012-09-21 11:46:42',13,439,547,1,19251,NULL),
(639439,'2012-09-21 13:55:31',13,439,536,1,19253,NULL),
(639553,'2012-09-21 14:29:26',13,432,573,1,19259,NULL),
(644895,'2012-09-24 15:53:47',13,429,3955,1,19331,NULL),
(645405,'2012-09-25 00:00:46',13,437,572,1,19343,NULL),
(647273,'2012-09-25 16:49:59',13,435,578,1,19381,NULL),
(647743,'2012-09-25 22:00:39',13,438,614,1,19385,NULL),
(647797,'2012-09-26 05:16:42',13,439,548,1,19397,NULL),
(647799,'2012-09-26 06:09:43',13,439,548,1,19399,NULL),
(649125,'2012-09-26 13:38:23',13,437,572,1,19417,NULL),
(649137,'2012-09-26 13:39:20',13,437,572,1,19419,NULL),
(649321,'2012-09-26 14:34:56',13,438,614,1,19425,NULL),
(650673,'2012-09-27 10:14:55',13,428,478,1,19455,NULL),
(652471,'2012-09-28 00:52:27',13,437,572,1,19481,NULL),
(652711,'2012-09-28 08:06:52',13,430,591,1,19483,NULL),
(653193,'2012-09-28 10:10:37',13,430,591,1,19493,NULL),
(654171,'2012-09-28 13:36:36',13,430,591,1,19515,NULL),
(654563,'2012-09-28 15:45:40',13,428,478,1,19517,NULL),
(654617,'2012-09-28 16:04:29',13,428,478,1,19519,NULL),
(654623,'2012-09-28 16:05:47',13,428,478,1,19521,NULL),
(654629,'2012-09-28 16:06:45',13,428,478,1,19525,NULL),
(654653,'2012-09-28 16:14:44',13,442,522,1,19529,NULL),
(654667,'2012-09-28 16:16:20',13,442,477,1,19531,NULL),
(655631,'2012-09-29 12:21:42',13,435,578,1,19565,NULL),
(656267,'2012-09-29 22:46:55',13,429,488,1,19583,NULL),
(656329,'2012-09-30 02:56:47',13,435,578,1,19585,NULL),
(656897,'2012-09-30 14:00:57',13,432,579,1,19593,NULL),
(659091,'2012-10-01 13:06:53',13,428,478,1,19631,NULL),
(659261,'2012-10-01 14:06:45',13,433,636,1,19637,NULL),
(661663,'2012-10-02 14:39:16',13,432,573,1,19679,NULL),
(664117,'2012-10-03 16:21:23',13,437,572,1,19727,NULL),
(665923,'2012-10-04 12:23:33',13,442,477,1,19777,NULL),
(665925,'2012-10-04 12:23:46',13,442,477,1,19777,NULL),
(665931,'2012-10-04 12:25:34',13,442,477,1,19777,NULL),
(666471,'2012-10-04 15:29:00',13,438,624,1,19781,NULL),
(666475,'2012-10-04 15:31:08',13,438,624,1,19783,NULL),
(668981,'2012-10-05 14:31:49',13,439,538,1,19799,NULL),
(671505,'2012-10-07 11:40:13',13,430,591,1,19849,NULL),
(671509,'2012-10-07 11:40:45',13,430,591,1,19849,NULL),
(673577,'2012-10-08 11:15:05',13,430,591,1,19867,NULL),
(673583,'2012-10-08 11:15:31',13,430,591,1,19867,NULL),
(675479,'2012-10-08 20:19:30',13,437,572,1,19899,NULL),
(675537,'2012-10-08 21:33:28',13,433,518,1,19907,NULL),
(675539,'2012-10-08 21:35:09',13,433,518,1,19907,NULL),
(676097,'2012-10-09 09:20:42',13,439,536,1,19913,NULL),
(677789,'2012-10-09 17:43:35',13,438,476,1,19949,NULL),
(677793,'2012-10-09 17:45:08',13,438,476,1,19953,NULL),
(679779,'2012-10-10 13:40:49',13,428,478,1,19981,NULL),
(681043,'2012-10-11 08:39:24',13,437,572,1,19997,NULL),
(681117,'2012-10-11 09:02:57',13,438,570,1,19999,NULL),
(681417,'2012-10-11 10:21:20',13,438,476,1,20015,NULL),
(681451,'2012-10-11 10:32:50',13,438,476,1,20023,NULL),
(681507,'2012-10-11 10:44:25',13,438,476,1,20025,NULL),
(682645,'2012-10-11 16:11:44',13,430,591,1,20037,NULL),
(684539,'2012-10-12 12:18:48',13,438,476,1,20053,NULL),
(684985,'2012-10-12 13:53:08',13,437,572,1,20059,NULL),
(685003,'2012-10-12 13:55:04',13,437,572,1,20061,NULL),
(685009,'2012-10-12 13:56:06',13,437,572,1,20063,NULL),
(687997,'2012-10-14 16:42:31',13,437,572,1,20089,NULL),
(688447,'2012-10-15 00:12:18',13,441,519,1,20095,NULL),
(695189,'2012-10-17 13:39:42',13,435,578,1,20209,NULL),
(695647,'2012-10-17 16:52:18',13,435,578,1,20217,NULL),
(695725,'2012-10-17 17:58:47',13,435,578,1,20221,NULL),
(696703,'2012-10-18 09:48:52',13,439,548,1,20231,NULL),
(697341,'2012-10-18 12:52:08',13,430,591,1,20239,NULL),
(700199,'2012-10-19 13:04:02',13,439,596,1,20271,NULL),
(705821,'2012-10-22 13:40:56',13,439,439,1,20343,NULL),
(707781,'2012-10-23 11:26:44',13,430,591,1,20363,NULL),
(711219,'2012-10-24 19:36:49',13,438,485,1,20417,NULL),
(717025,'2012-10-27 09:30:44',13,439,538,1,20477,NULL),
(717987,'2012-10-27 17:07:01',13,433,590,1,20493,NULL),
(721619,'2012-10-29 13:57:47',13,433,518,1,20541,NULL),
(721829,'2012-10-29 15:09:04',13,437,572,1,20547,NULL),
(722125,'2012-10-29 17:06:10',13,439,544,1,20553,NULL),
(724375,'2012-10-30 14:29:46',13,437,572,1,20569,NULL),
(725509,'2012-10-31 07:49:31',13,428,8205,1,20587,NULL),
(726313,'2012-10-31 10:53:17',13,434,511,1,20593,NULL),
(727187,'2012-10-31 14:17:46',13,437,572,1,20605,NULL),
(735285,'2012-11-05 23:00:59',13,428,478,1,20741,NULL),
(735339,'2012-11-06 13:17:27',13,440,574,1,20745,NULL),
(735407,'2012-11-07 09:29:40',13,437,572,1,20763,NULL),
(735467,'2012-11-07 17:59:39',13,437,572,1,20789,NULL),
(735663,'2012-11-10 03:25:14',13,442,477,1,20915,NULL),
(735729,'2012-11-11 15:20:07',13,433,518,1,20975,NULL),
(736971,'2012-11-28 15:26:54',13,435,578,1,21917,NULL),
(737069,'2012-11-30 08:50:34',13,435,578,1,22003,NULL),
(737071,'2012-11-30 09:09:10',13,439,543,1,22005,NULL),
(737137,'2012-12-01 17:45:37',13,442,477,1,22079,NULL),
(737171,'2012-12-02 22:34:27',13,428,496,1,22115,NULL),
(737231,'2012-12-03 12:22:34',13,439,536,1,22133,NULL),
(737253,'2012-12-03 15:34:25',13,433,518,1,22151,NULL),
(737281,'2012-12-04 07:44:42',13,438,476,1,22187,NULL),
(737299,'2012-12-04 10:58:42',13,439,544,1,22191,NULL),
(737399,'2012-12-05 12:56:27',13,429,488,1,22253,NULL),
(737435,'2012-12-05 18:13:07',13,437,572,1,22261,NULL),
(737437,'2012-12-05 18:14:05',13,437,572,1,22263,NULL),
(737469,'2012-12-06 11:19:08',13,437,572,1,22281,NULL),
(737551,'2012-12-06 16:00:10',13,430,591,1,22311,NULL),
(737751,'2012-12-11 09:07:58',13,437,572,1,22495,NULL),
(738017,'2012-12-14 09:19:43',13,439,544,1,22619,NULL),
(738225,'2012-12-19 15:51:12',13,437,572,1,22781,NULL),
(738675,'2013-01-04 14:39:48',13,439,544,1,23189,NULL),
(738691,'2013-01-04 21:26:22',13,433,8427,1,23217,NULL),
(740561,'2013-02-03 19:40:09',13,428,478,1,25003,NULL),
(743536,'2013-05-20 23:33:47',13,442,477,1,32812,NULL),
(744327,'2013-06-06 17:45:37',13,438,482,1,34437,NULL),
(744797,'2013-06-17 14:52:32',13,439,610,1,35691,NULL),
(744828,'2013-06-18 08:42:05',13,442,507,1,35776,NULL),
(745022,'2013-06-24 09:51:32',13,443,632,1,36386,NULL),
(745026,'2013-06-24 16:59:00',13,433,518,1,36424,NULL),
(745070,'2013-06-25 16:47:21',11,435,578,1,36508,NULL),
(745102,'2013-06-26 12:45:08',11,442,477,1,36572,NULL),
(745104,'2013-06-26 12:46:01',11,442,477,1,36574,NULL),
(745106,'2013-06-26 12:46:37',11,442,477,1,36576,NULL),
(745116,'2013-06-26 13:38:02',11,438,476,1,36588,NULL),
(745119,'2013-06-26 14:07:13',11,442,477,1,36591,NULL),
(745146,'2013-06-27 07:50:11',11,433,532,1,36658,NULL),
(745149,'2013-06-27 10:18:45',11,433,518,1,36663,NULL),
(745161,'2013-06-27 12:59:37',11,438,476,1,36675,NULL),
(745163,'2013-06-27 14:41:36',11,433,532,1,36677,NULL),
(745167,'2013-06-27 19:10:01',11,439,568,1,36699,NULL),
(745168,'2013-06-27 20:30:53',11,442,629,1,36710,NULL),
(745170,'2013-06-27 20:40:01',11,442,512,1,36714,NULL),
(745172,'2013-06-27 22:30:05',11,433,4018,1,36716,NULL),
(745174,'2013-07-10 12:56:23',11,438,479,1,36732,NULL),
(745180,'2013-07-17 14:39:29',11,438,479,1,36745,NULL),
(745181,'2013-08-19 13:37:46',11,438,476,1,36753,NULL),
(745191,'2013-08-21 08:53:55',11,435,578,1,36777,NULL);
